package com.chrray.position.mapper.position;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chrray.position.domain.FdJobSubcategory;
import com.chrray.position.domain.dto.DictionaryDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 职位小类表 持久层
 *
 * @author wusiwee
 * @email wusiwee@163.com
 * @since 1.0.1 2024-08-07
 */
@Mapper
public interface FdJobSubcategoryMapper extends BaseMapper<FdJobSubcategory> {

    List<DictionaryDTO> findAll();

    List<DictionaryDTO> districtSelection(@Param("code") long code);

    long findIdByDistrictId(long code);
}
